﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InteractionFramework
{
    /// <summary>
    /// Generic connection from one ILocationLeafNode to another.
    /// </summary>
    /// <remarks>This implementation offers no restrictions to movement. Can be extended so that restrictions will be in place; for example, a cart cannot fit through a narrow door or a small gap between houses.</remarks>
    public class LocationNodeConnection
    {
        ILocationLeafNode connectsTo
        {
            get;
            set;
        }

        float travelTime
        {
            get;
            set;
        }

        void getConnect()
        {
            throw new System.NotImplementedException();
        }

        /// <remarks>If requires flight, for example, and character cannot fly, then cannot use this node. If a wheeled cart, cannot climb stairs</remarks>
        /// <returns>Return -ve if cannot travel this way</returns>
        float getTravelTime()
        {
            throw new System.NotImplementedException();
        }
    }
}
